﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessLayer
{
    public interface IFSecurity
    {
        byte[] CreateSalt(int size);
        byte[] GenerateSaltedHash(byte[] plainText, byte[] salt);
        bool CompareByteArrays(byte[] array1, byte[] array2);
        string GenerateTokenHash();
        bool Authenticate(string username, string token);
   
    }
}
